/**
 * 
 */
package com.jinmei.utils;

/**
 * @author richard
 *
 */
public class JinmeiConsts {
	
	// jpush
	public static final String JPUSH_APPKEY = "appkey";
	public static final String JPUSH_MASTER_SECRET = "mastersecret";
	public static final String JPUSH_TIME_TO_LIVE = "timetolive";
	public static final int MAX = Integer.MAX_VALUE;
	public static final int MIN = (int) MAX/2;
	
	// mail variables
	public static final String MAIL_LATEST_ACCESS_TOKEN = "mail-latest-accesstoken";
	public static final String MAIL_LATEST_VERSION = "mail-latest-version";
	public static final String MAIL_VERSION_VALUE_0 = "0";
	
	// admin
	public static final String USER = "user";
	public static final String USER_SESSIONID = "user_sessionid";
	public static final String JERP_SESSIONID = "jerp_sessionid";
	public static final String JERP_LOGIN_SUCCESS_CODE = "0";
	
	public static final int WORKING_TYPE_A = 0;
	public static final int WORKING_TYPE_B = 1;
	public static final int WORKING_TYPE_C = 2;
	public static final int WORKING_TYPE_NOTONDUTY = 3;
	
	public static final String MSG_SAVE_SUCCESS = "保存成功！";
	public static final String EMPTY_STRING = "";

	public static final String SUCCEED = "succeed";
	public static final String FAILED = "failed";
	
	public static final String ENCODING = "UTF-8";
}
